package com.dao;

import java.util.List;

import com.model.Clazz;
import com.model.ClazzProanswer;
import com.model.Student;
import com.util.Pagination;

public interface ClazzDao {

    public List<Clazz> ClazzList(Clazz clazz);
    
    public List<Clazz> getAllClazzList(String sno);

    public List<Student> getStuListByclazzid(int id);

    public void addClazz(Clazz clazz);

    public Clazz findByClazznum(int classnum);

    public Clazz findClazzById(int parseInt);

    public Student StuInfo(int id);

    public Student teaEditInfo(int sid, String pas, String stuname);

    public void addStudent(Student student);

    public void delStudent(int id);

    public void delClazzById(int id);

    public List<Student> checkNameExitByClazzid(Student stu, int id);

    public Pagination StuScore(ClazzProanswer proanswer, Pagination paperPage, int id);

    public List paperInfo(int uid, int pid);

    public List getPaperBycid(int id);

    public void delPaperClazz(int cid, Integer paperId);
    
    public Student getStu(String sno , String clazzid );
    
    public Student getStuBySNOPWD(String sno , String pwd);
}
